package com.wanczy.service;

import java.util.List;

import com.wanczy.pojo.RoleTable;


public interface RoleTableService {
	
	public List<RoleTable> find(String name,int pageSize,int pageCurrent);
	
	public List<RoleTable> findByUserId(int userId);
	
	public List<RoleTable> findByRoelId(int roleId);
	
	public boolean doUpd(RoleTable role);
	
	public boolean doIns(RoleTable role);
	
	public boolean doDel(int roleId);
	
	public int findCount(String name);
	
}
